const util = require('util');
const debug = util.debuglog('oil-game:welfare:push');

//宝箱增加消息推送
exports.deliverChest = function (session) {
  let { uid, frontendId: sid } = session
  debug("uid = %s sid = %s 福利时刻推送", uid, sid);
  this.app.get('channelService').pushMessageByUids("s2c_welfare_appear", { number: 1 }, [{ uid, sid }]);
}
